<?php
	require '../biz/backend.php';

	class action extends backend
	{
		var $get_privilege_id = '86';

		function do_get()
		{
			$argument = load( 'biz.argument' );
			$module_type = $argument->content_module_cname;
			$cate = load( 'biz.cate' );
			$this->input['size'] = ( isset( $this->input['size'] ) && $this->input['size'] !='' ) ? $this->input['size'] : '999';
			$data = $cate->all( $this->input );
			$cateTree = $cate->getcatelist($data['data']);

			$template = load( 'template', array( 'domain'=>'tpl.admin' ) );
			$template->assign( 'reference', isset( $this->input['reference'] ) ? urldecode( $this->input['reference'] ) : config( 'server.HTTP_REFERER' ) );
			$template->assign( 'current_url', config( 'current_url' ) );
			$template->assign( 'module_type', $module_type );
			$template->assign( 'cateTree', $cateTree );
			echo $template->parse( 'list_column.php' );
		}
	}

	$action = new action();
	$action->run();

?>